//
//  PostImgUploadCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/14.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonMediaModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, PostImgUploadCellActionType) {
    //
    PostImgUploadCellActionType_tap,
    //
    PostImgUploadCellActionType_del
};

@interface PostImgUploadCell : UICollectionViewCell


@property (weak, nonatomic) IBOutlet UIImageView *mainImageView;

@property (weak, nonatomic) IBOutlet UIButton *closeBtn;

@property (nonatomic, copy) void(^PostImgUploadCellBlock )(PostImgUploadCellActionType type);

- (void)fillCellWithModel:(CommonMediaModel *)model;

@end

NS_ASSUME_NONNULL_END
